import type {ExtractPropTypes, PropType} from "vue";

export const pageProps = {
  title: {
    type: String,
  },
  icon: {
    type: String,
  },
  iconType: {
    type: String as PropType<"component" | "iconfont" | "image">,
    default: "component"
  },
  iconColor: {
    type: String,
    default: "#222",
  },
  iconSize: {
    type: String,
  },
  marginBottom: {
    type: String,
    default: "0px",
  },
  showHeader: {
    type: Boolean,
    default: true,
  },
};

export type PageProps = ExtractPropTypes<typeof pageProps>;
